package neuroPoker.netze;

import java.util.ArrayList;

import neuroPoker.poker.Enums.Actions;

public abstract class Util {
	public static boolean containsAction(ArrayList<Actions> actions, Actions action) {
		for (int i = 0; i < actions.size(); i++)
			if (actions.get(i) == action)
				return true;
		return false;
	}
	
	public static NetKarte[] concat(NetKarte[] A, NetKarte[] B) {
		NetKarte[] C = new NetKarte[A.length + B.length];
		System.arraycopy(A, 0, C, 0, A.length);
		System.arraycopy(B, 0, C, A.length, B.length);

		return C;
	}

}
